<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    android:background="@color/media_player_controls_background">

    <FrameLayout
        android:id="@+id/scrolllayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

    </FrameLayout>

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/back"
        android:padding="10dp"
        android:background="?selectableItemBackground"
        android:clickable="true"
        android:focusable="true"
        app:srcCompat="@drawable/ic_arrow"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        android:layout_marginStart="24dp"
        android:layout_marginTop="14dp"
        />

    <TextView
        android:id="@+id/episodeName"
        android:layout_width="240dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="4dp"
        android:layout_marginTop="24dp"
        android:fontFamily="sans-serif"
        android:maxWidth="450dp"
        android:maxLines="2"
        android:textColor="@android:color/white"

        android:textSize="14sp"
        app:layout_constraintStart_toEndOf="@id/back"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="Naruto Shippuden Episode 7" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/previous_episode"
        android:layout_marginStart="16dp"
        android:textColor="@color/media_player_controls"
        android:textSize="16sp"
        android:padding="8dp"
        android:id="@+id/previousEpisode"
        app:layout_constraintBottom_toTopOf="@id/exo_position"
        app:layout_constraintStart_toStartOf="parent"
        />

    <ImageButton
        android:id="@+id/exo_play"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:srcCompat="@drawable/ic_media_play"
        android:background="?selectableItemBackgroundBorderless"
        android:padding="10dp"
        android:clickable="true"
        android:focusable="true"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/exo_rew"
        app:srcCompat="@drawable/ic_media_seek_backward"
        android:padding="16dp"
        android:background="?selectableItemBackgroundBorderless"
        android:layout_marginEnd="20dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintHorizontal_bias="0.2"
        app:layout_constraintEnd_toEndOf="parent"/>

    <ImageButton
        android:id="@+id/exo_pause"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:padding="10dp"
        android:clickable="true"
        android:focusable="true"
        android:background="?selectableItemBackgroundBorderless"
        app:srcCompat="@drawable/ic_media_pause"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />


    <ImageButton
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/exo_ffwd"
        android:background="?selectableItemBackgroundBorderless"
        android:padding="16dp"
        android:layout_marginStart="20dp"
        app:srcCompat="@drawable/ic_media_seek_forward"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintHorizontal_bias="0.8"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="14sp"
        android:textStyle="bold"
        android:layout_marginStart="24dp"
        android:layout_marginEnd="16dp"
        android:layout_marginBottom="24dp"
        android:textColor="@color/media_player_controls"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@id/exo_progress_placeholder"
        app:layout_constraintStart_toStartOf="parent"
        tools:text="22:04"
        android:id="@+id/exo_position"/>

    <View android:id="@id/exo_progress_placeholder"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toStartOf="@id/exo_duration"
        app:layout_constraintStart_toEndOf="@id/exo_position"
        android:layout_marginBottom="19dp"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        android:layout_width="0dp"
        android:layout_height="26dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textSize="14sp"
        android:textStyle="bold"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="24dp"
        android:layout_marginBottom="24dp"
        android:id="@+id/exo_duration"
        android:textColor="@color/media_player_controls"
        app:layout_constraintStart_toEndOf="@id/exo_progress_placeholder"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        />

    <ImageView
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:id="@+id/exo_full_Screen"
        android:paddingTop="10dp"
        android:paddingStart="10dp"
        android:paddingEnd="10dp"
        android:paddingBottom="10dp"
        android:layout_marginEnd="10dp"
        android:layout_marginTop="6dp"
        android:background="?selectableItemBackgroundBorderless"
        android:tint="@color/media_player_controls"
        app:srcCompat="@drawable/exo_controls_fullscreen_enter"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"/>

    <ImageView
        android:id="@+id/exo_download"
        android:layout_width="50dp"
        android:layout_height="50dp"
        android:layout_marginTop="6dp"
        android:layout_marginEnd="10dp"
        android:background="?selectableItemBackgroundBorderless"
        android:paddingStart="10dp"
        android:paddingTop="10dp"
        android:paddingEnd="10dp"
        android:paddingBottom="10dp"
        android:tint="@color/media_player_controls"
        app:layout_constraintEnd_toStartOf="@id/exo_speed_selection_view"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/ic_file_download_24px" />
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/exo_speed_selection_view"
        app:layout_constraintEnd_toStartOf="@id/exo_track_selection_view"
        app:layout_constraintTop_toTopOf="parent"
        android:textColor="@color/media_player_controls"
        android:text="@string/speed"
        android:layout_marginEnd="10dp"
        android:background="?selectableItemBackgroundBorderless"
        android:textStyle="bold"
        android:paddingTop="20dp"
        android:paddingStart="20dp"
        android:paddingBottom="20dp"
        android:paddingEnd="10dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/exo_track_selection_view"
        app:layout_constraintEnd_toStartOf="@id/exo_full_Screen"
        app:layout_constraintTop_toTopOf="parent"
        android:textColor="@color/media_player_controls"
        android:text="@string/quality_auto"
        android:layout_marginEnd="10dp"
        android:background="?selectableItemBackgroundBorderless"
        android:textStyle="bold"
        android:paddingTop="20dp"
        android:paddingStart="20dp"
        android:paddingBottom="20dp"
        android:paddingEnd="10dp"/>

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/next_episode"
        app:layout_constraintEnd_toEndOf="parent"
        android:layout_marginEnd="16dp"
        android:textSize="16sp"
        android:textColor="@color/media_player_controls"
        android:padding="8dp"
        android:id="@+id/nextEpisode"
        app:layout_constraintBottom_toTopOf="@id/exo_duration"
        />



</androidx.constraintlayout.widget.ConstraintLayout>